package day03;

public class demo01 {
    public static void main(String[] args) {
        /*
        int a = 5, b = 10 , c = 5;
        boolean b1 = a > b;
        System.out.println(b1);
        System.out.println(c<b);
        System.out.println(a>=c);
        System.out.println(a<=c);
        System.out.println(a==c);
        System.out.println(a!=c);
        System.out.println(a%2==0);
        System.out.println(a+c>b);
        System.out.println(a++>5);
        System.out.println(a++>5);
        */
      /*  int a = 5 ,b = 10 ,c = 5;
        boolean  b1 = b>=a && b<c;
        System.out.println(b1);
        System.out.println(b<=c&&b>a);
        System.out.println(a==b&&b<a);
        System.out.println(b!=c&&b>a);
        int age = 39 ;
        System.out.println(age>=18&&age<=50);
        int score = 88;
        System.out.println(score>=0&&score<=100);
        */
      /*  int a = 5, b = 10,c =5;
        System.out.println(b>=a || b<c);
        System.out.println(b<=a || b>a);
        System.out.println(b!=c || b>a);
        System.out.println(a==b || b<a);
        int score =90;
        System.out.println(score<0 || score>100);
        boolean b2 = !(a<b);
        System.out.println(b2);
        System.out.println(!(a>b));

       */

        /*
        short s = 5;
        //s = s+10; 编译错误，需强转，改为：s=(short)(s+10)
        s +=10;//相当于s=(short)(s+10)
        int a = 5;
        a += 10;//相当于a=(int)(a+10)
        System.out.println(a);
        a *= 2;//相当于a=(int)(a*2)
        System.out.println(a);
        a /= 6;//相当于a=(int)(a/6)
        System.out.println(a);

         */

      /*  int age = 24;
        System.out.println("age=");
        System.out.println(age);
        System.out.println("age="+age);
        System.out.println("我今年"+age+"岁了");

        String name = "wqq" ;
        String place = "ah";
        System.out.println("大家好，我叫"+name);
        System.out.println("大家好，我叫"+name+",今年"+age+"岁了");
        System.out.println("来自于"+place);
       */
        /*
        int a =1;
        int b = a<0?a*=9:132;
        System.out.println(a);

         */


    }
}
